package app.vendorportal.web.controller;

import app.vendorportal.web.interceptor.LoginRequired;
import app.vendorportal.web.interceptor.MasterLayout;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @author echo
 */
@MasterLayout
@Controller
@LoginRequired
public class HomeController extends VendorPortalSiteController {

    @RequestMapping(value = "/home", method = RequestMethod.GET)
    public String home(Map<String, Object> model) {
       return "home";
    }
}
